/**
 * Copyright (c) 2025 myons Inc. All rights reserved.
 */
package cn.zmwh.bbs.modules.bbs.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @describe: 、
 * @author: dmzmwh 、
 * @time: 2025-07-18 16:38 、
 */
@Data
public class ForumBoardNode {

    @ApiModelProperty(value = "板块ID")
    private Long id;

    @ApiModelProperty(value = "父级板块ID")
    private Long pid;

    @ApiModelProperty(value = "板块名")
    private String boardName;

    @ApiModelProperty(value = "封面")
    private String cover;

    @ApiModelProperty(value = "描述")
    private String boardDesc;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "0:只允许管理员发帖 1:任何人可以发帖")
    private Integer postType;

    private List<ForumBoardNode> children;
}
